package com.wenbiao.springcloud.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GateWayController {

    @RequestMapping("/api/local")
    public String hello() {
        int a= 10/0;

        System.out.println("在api gateway中执行业务逻辑。。。。。");
        return "exec the api gateway. " ;
    }

}
